﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core
{

    /// <summary>
    /// Extra attributes for FileSystemInfoExA
    /// </summary>
    [Flags]
    public enum COFEAttributes : int
    {
        None = 1 << 0,
        //Root entries is readonly but sub entries can be changed.
        SubEntriesCanChange = 1 << 1,
        //Folder containing a collection of other ExA items, non-file system.
        //Some CustomCommand should not applied to these items.
        LinkCollections = 1 << 2,
        //Use IComparable<IFileSystemInfo> to sort the item of sort by name.
        CustomSortMethod = 1 << 3,
        //Whether the dirExA entries is File Based FS. (e.g. Zip)
        FileBasedFS = 1 << 4,
        //Whether the dirExA entries Browsable.
        Browsable = 1 << 5,
        //Whether the entries belongs to file system.
        FileSystem = 1 << 6,
        //Whether the entries is not cachable in database. (or already database entries, e.g. ProfileRoot)
        NotCachable = 1 << 7,
        //The entry is already cached (dont cache again e.g. DBLink, DBContent)
        AlreadyCached = 1<<8
    }
      

}
